﻿/****************************** Module Header ******************************\
 * Module Name:  tInfoJob.cs
 * Module Version:  1.0.0 (2013-01-25)
 * Copyright (c) AnyEB.Com (14507247@qq.com)
 * 
 * This source is subject to the GPL License.
 * See http://www.gnu.org/licenses/gpl.html.
 * All other rights reserved.
 * 
 * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, 
 * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED 
 * WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
\***************************************************************************/

using System;

namespace UCL.Data.ORM.UMD
{
    /// <summary>
    /// 信息-招聘 数据实体类
    /// </summary>
    [DBTable(Common = "信息-招聘")]
    public class tInfoJob
    {
        /// <summary>
        /// 岗位代号(流水号)
        /// </summary>
        public string SerialNo { get { return _SerialNo; } set { _SerialNo = value; } }

        [DBColumn(Alias = "岗位代号", Common = "流水号", Length = "32")]
        private string _SerialNo;

        /// <summary>
        /// 职位名称
        /// </summary>
        public string Name { get { return _Name; } set { _Name = value; } }

        [DBColumn(Alias = "职位名称", Length = "32")]
        private string _Name;

        /// <summary>
        /// 分类编号
        /// </summary>
        public Guid CatalogID { get { return _CatalogID ?? default(Guid); } set { _CatalogID = value; } }

        [DBColumn(Alias = "分类编号", CanBeNull = true)]
        private Guid? _CatalogID;

        /// <summary>
        /// 招聘部门
        /// </summary>
        public string DepartmentName { get { return _DepartmentName; } set { _DepartmentName = value; } }

        [DBColumn(Alias = "招聘部门", CanBeNull = true, Length = "255")]
        private string _DepartmentName;

        /// <summary>
        /// 招聘人数
        /// </summary>
        public string Quantity { get { return _Quantity; } set { _Quantity = value; } }

        [DBColumn(Alias = "招聘人数", CanBeNull = true, Length = "255")]
        private string _Quantity;

        /// <summary>
        /// 工作地点
        /// </summary>
        public string OfficeRegion { get { return _OfficeRegion; } set { _OfficeRegion = value; } }

        [DBColumn(Alias = "工作地点", CanBeNull = true, Length = "255")]
        private string _OfficeRegion;

        /// <summary>
        /// 有效时间
        /// </summary>
        public string ExpiryDate { get { return _ExpiryDate; } set { _ExpiryDate = value; } }

        [DBColumn(Alias = "有效时间", CanBeNull = true, Length = "255")]
        private string _ExpiryDate;

        /// <summary>
        /// 学历要求
        /// </summary>
        public string Education { get { return _Education; } set { _Education = value; } }

        [DBColumn(Alias = "学历要求", CanBeNull = true, Length = "255")]
        private string _Education;

        /// <summary>
        /// 外语要求
        /// </summary>
        public string ForeignLanguage { get { return _ForeignLanguage; } set { _ForeignLanguage = value; } }

        [DBColumn(Alias = "外语要求", CanBeNull = true, Length = "255")]
        private string _ForeignLanguage;

        /// <summary>
        /// 工作经验
        /// </summary>
        public string WorkExperience { get { return _WorkExperience; } set { _WorkExperience = value; } }

        [DBColumn(Alias = "工作经验", CanBeNull = true, Length = "Max")]
        private string _WorkExperience;

        /// <summary>
        /// 岗位职责
        /// </summary>
        public string Responsibilities { get { return _Responsibilities; } set { _Responsibilities = value; } }

        [DBColumn(Alias = "岗位职责", CanBeNull = true, Length = "Max")]
        private string _Responsibilities;

        /// <summary>
        /// 职位要求
        /// </summary>
        public string JobRequirements { get { return _JobRequirements; } set { _JobRequirements = value; } }

        [DBColumn(Alias = "职位要求", CanBeNull = true, Length = "Max")]
        private string _JobRequirements;

        /// <summary>
        /// 薪资待遇
        /// </summary>
        public string Wages { get { return _Wages; } set { _Wages = value; } }

        [DBColumn(Alias = "薪资待遇", CanBeNull = true, Length = "255")]
        private string _Wages;

        /// <summary>
        /// 排列次序
        /// </summary>
        public short Ordinal { get { return _Ordinal ?? default(short); } set { _Ordinal = value; } }

        [DBColumn(Alias = "排列次序", DefaultValue = "999")]
        private short? _Ordinal;

        /// <summary>
        /// 状态
        /// </summary>
        public short State { get { return _State ?? default(short); } set { _State = value; } }

        [DBColumn(Alias = "状态", DefaultValue = "0")]
        private short? _State;

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreatedTime { get { return _CreatedTime ?? default(DateTime); } set { _CreatedTime = value; } }

        [DBColumn(Alias = "创建时间", DefaultValue = "getdate()")]
        private DateTime? _CreatedTime;

        /// <summary>
        /// 最后更新时间
        /// </summary>
        public DateTime ModifiedTime { get { return _ModifiedTime ?? default(DateTime); } set { _ModifiedTime = value; } }

        [DBColumn(Alias = "最后更新时间", CanBeNull = true)]
        private DateTime? _ModifiedTime;

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDeleted { get { return _IsDeleted ?? default(bool); } set { _IsDeleted = value; } }

        [DBColumn(Alias = "是否删除", DefaultValue = "0")]
        private bool? _IsDeleted;

        /// <summary>
        /// 网站标签
        /// </summary>
        public string SiteTag { get { return _SiteTag; } set { _SiteTag = value; } }

        [DBColumn(Alias = "网站标签", CanBeNull = true, Length = "16")]
        private string _SiteTag;

    }
}
